<?php
date_default_timezone_set('Asia/Calcutta');
define("HOST","localhost");
define("DBNAME","testempdb");
define("USERNAME","root");
define("PASSWORD","lenovo67");
define("TYPE","mysql");
define("PORTNUMBER",3306);

//define("HOST","localhost");
//define("DB","allyfoliodb");
//define("USERNAME","root");
//define("PASS","");

define("PAGELIMIT",1);

$access_matrix=array();
$access_matrix["Staff"]['Home'][0]="dashboard.php";
$access_matrix["Staff"]['Home']['Change Password']="change_pwd.php";
$access_matrix["Staff"]['Home']['Profile']="profile.php";
$access_matrix["Staff"]['Home']['Edit Profile']="edit_profile.php";
$access_matrix["Staff"]['Home']['No Access']="no_access_level.php";
$access_matrix["Staff"]['Home']['Email Templates']="emailtemplates.php";
$access_matrix["Staff"]['Home']['Add Email Template']="addedit_emailtemplate.php";

$access_matrix["Staff"]['Cab/Roster'][0]="roster.php";

$access_matrix["Staff"]['Leaves'][0]="leaves.php";

$access_matrix["Staff"]['Policies'][0]="policies.php";

$access_matrix["Staff"]['Messaging'][0]="msg_inbox.php";

$access_matrix["Staff"]['IT Ticketing'][0]="tickets.php";

//Admin access permissions
$access_matrix["Admin"]['Home'][0]="dashboard.php";
$access_matrix["Admin"]['Home']['Change Password']="change_pwd.php";
$access_matrix["Admin"]['Home']['Profile']="profile.php";
$access_matrix["Admin"]['Home']['Edit Profile']="edit_profile.php";
$access_matrix["Admin"]['Home']['No Access']="no_access_level.php";
$access_matrix["Admin"]['Home']['Staffs']="staffs.php";
$access_matrix["Admin"]['Home']['Add Staff']="addedit_staff.php";
$access_matrix["Admin"]['Home']['Email Templates']="emailtemplates.php";
$access_matrix["Admin"]['Home']['Add Email Template']="addedit_emailtemplate.php";

$access_matrix["Admin"]['Cab/Roster'][0]="roster.php";

$access_matrix["Admin"]['Leaves'][0]="leaves.php";

$access_matrix["Admin"]['Employees'][0]="employee_list.php";

$access_matrix["Admin"]['Teams'][0]="teams.php";

$access_matrix["Admin"]['Policies'][0]="policies.php";

$access_matrix["Admin"]['Messaging'][0]="msg_inbox.php";

$access_matrix["Admin"]['IT Ticketing'][0]="tickets.php";

$access_matrix["Admin"]['Log Reports'][0]="employee_p_info_logs.php";

$access_matrix["Admin"]['Backup'][0]="backupdb.php";


?>